<div class="indexKmnDetail">
    <div nz-row>
        <div nz-col [nzSpan]="screen.emptyColSpan" class="emptyCol">
        </div>
        <div nz-col [nzSpan]="screen.mainColSpan">
            <nz-layout>
                <nz-sider nzTheme="light" [nzWidth]="screen.siderWidth" *ngIf="showMenu">
                    <ul [class]="classes.siderUl">
                        <li>
                            <div class="menu-title-out">
                                <div class="menu-title-in">
                                    <div [class]="classes.menuTitleTextCn">{{menuNodes.text}}</div>
                                </div>
                            </div>
                        </li>
                        <li *ngFor="let item of menuNodes.children" [class]="classes.menus"
                            (click)="selectMenu(item.id)" [ngClass]="{'menu-select': selectMenuId==item.id}">
                            <span>{{item.text}}</span>
                            <span class="hideText"> > </span>
                        </li>
                    </ul>
                </nz-sider>
                <nz-content class="bgwhite">
                    <!-- 表格 -->
                    <div *ngIf="showTablePage">
                        <ul>
                            <li *ngFor="let item of table.data" (click)="goDetail(item.id)" [class]="classes.tableList">
                                <div class="cell-date">
                                    <div class="cell-date-d">{{item._d}}</div>
                                    <div class="cell-date-ym">{{item._ym}}</div>
                                </div>
                                <div class="cell-content">
                                    <h3>{{item.title}}</h3>
                                    <div class="paragraph">
                                        {{item.newSummary}}
                                    </div>
                                </div>
                            </li>
                        </ul>
                        <div style="margin-bottom: 20px;">
                            <nz-pagination [(nzPageIndex)]="table.pageIndex" [nzTotal]="table.total"
                                [nzPageSize]="table.pageSize" (nzPageIndexChange)="pageIndexChange($event)"
                                (nzPageSizeChange)="pageSizeChange($event)" nzShowSizeChanger nzShowQuickJumper>
                            </nz-pagination>
                        </div>
                    </div>
                    <div *ngIf="showDetailPage">
                        <div class="detail-box">
                            <!-- <editor [init]="editorConfig" [(ngModel)]="detail.content" [disabled]="true"></editor> -->
                            <article nz-typography class="article-title">
                                <h3 nz-title class="title">{{detail.title}}</h3>
                                <div class="sub-title">
                                    <span>发文时间：{{(detail.operTime | date:"yyyy-MM-dd HH:mm")||''}}</span>
                                    <span>文章来源：{{detail.operOrgName||''}}</span>
                                </div>
                            </article>
                            <article nz-typography [innerHtml]="detail.content" class="article-content">
                            </article>
                            <div class="attachment" *ngIf="detail.fileUrl">
                                <span>
                                    附件：
                                    <a [attr.href]="formatHref(detail)"
                                        [attr.download]="detail.fileName">{{detail.fileName}}</a>
                                </span>
                            </div>
                            <div class="btnBar">
                                <div (click)="goItem(detail.preId)">上一条：{{detail.preTitle || ''}}</div>
                                <div *ngIf="detail.nextId" (click)="goItem(detail.nextId)" style="text-align: right;">
                                    下一条：{{detail.nextTitle || ''}}</div>
                            </div>
                        </div>
                    </div>
                </nz-content>
            </nz-layout>
        </div>
    </div>

</div>